package com.woniu.model.mallSystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 地址表
 * </p>
 */
@Getter
@Setter
  @TableName("t_address")
@ApiModel(value = "Address对象", description = "地址表")
public class Address implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("地址表id")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("省")
      private String province;

      @ApiModelProperty("城市")
      private String city;

      @ApiModelProperty("区域/县")
      private String county;

      @ApiModelProperty("具体地址")
      private String specificAddress;

      @ApiModelProperty("接收人")
      private String receiver;

      @ApiModelProperty("电话")
      private String tel;

      @ApiModelProperty("用户id")
      private Long userId;

      @ApiModelProperty("邮编")
      private String emailCode;

      @ApiModelProperty("默认地址")
      private String isDefault;

}
